﻿<%@ Page Title="" Language="VB" MasterPageFile="~/mobile.master" AutoEventWireup="false" CodeFile="request-admin.aspx.vb" Inherits="request_admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div data-role="page" class="type-home" id="requestadmin">
        <div data-role="header" data-theme="f">
            <a href="default.aspx" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
            <a href="../nav.html" data-icon="search" data-iconpos="notext" data-rel="dialog"
                data-transition="fade">Search</a>
            <div id="loginimg">
                Reister Your ACS</div>
        </div>
        <!-- /header -->
        <div data-role="content">
            <asp:Label ID="Label1" runat="server" Text="Name of ACS" AssociatedControlID="acsBox"> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ErrorMessage=" ACS Name is required" ControlToValidate="acsBox" 
                Display="Dynamic">*</asp:RequiredFieldValidator>
                </asp:Label>

            <asp:TextBox ID="acsBox" runat="server"></asp:TextBox>
            <asp:Label ID="UniLabel" runat="server" AssociatedControlID="UniDropDownList">University <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ErrorMessage=" University is required" ControlToValidate="UniDropDownList" 
                Display="Dynamic"> *</asp:RequiredFieldValidator></asp:Label>
                                    <asp:DropDownList ID="UniDropDownList" runat="server" data-mini="true"  
                                        AppendDataBoundItems="True" DataSourceID="SqlDataSource2" 
                                        DataTextField="UNIVERISTY_NAME" DataValueField="ID">
                                        <asp:ListItem></asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                                        ConnectionString="<%$ ConnectionStrings:ApplicationServices %>" 
                                        SelectCommand="SELECT * FROM [UNIVERSITIES]"></asp:SqlDataSource>
            <asp:Label ID="Label2" runat="server" Text="Contact Name" AssociatedControlID="nameBox"> <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ErrorMessage="Name is required" ControlToValidate="nameBox" 
                Display="Dynamic"> *</asp:RequiredFieldValidator></asp:Label>
            <asp:TextBox ID="nameBox" runat="server"></asp:TextBox>
            <asp:Label ID="Label3" runat="server" Text="Position" AssociatedControlID="posBox"> 
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ErrorMessage=" Position is required" ControlToValidate="posBox" 
                Display="Dynamic"> *</asp:RequiredFieldValidator>
            </asp:Label>
            <asp:TextBox ID="posBox" runat="server"></asp:TextBox>
            <asp:Label ID="Label4" runat="server" Text="Contact Email" AssociatedControlID="emailBox"><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                ErrorMessage=" Email is required" ControlToValidate="emailBox" 
                Display="Dynamic"> *</asp:RequiredFieldValidator><asp:RegularExpressionValidator
                    ID="RegularExpressionValidator1" runat="server" 
                ErrorMessage=" Invalid Email" ControlToValidate="emailBox" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></asp:Label>
            <asp:TextBox ID="emailBox" runat="server"></asp:TextBox>
            <asp:Label ID="Label5" runat="server" Text="Contact Number" AssociatedControlID="phoneBox"><asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                ErrorMessage=" Contact Number is required" ControlToValidate="phoneBox" 
                Display="Dynamic"> *</asp:RequiredFieldValidator></asp:Label>
            <asp:TextBox ID="phoneBox" runat="server"></asp:TextBox>
            <asp:Button ID="Button1" runat="server" Text="Submit" />

            <asp:Label ID="msgLabel" runat="server" Text="" ForeColor="Red"></asp:Label>
        </div>
</asp:Content>

